home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / DOCPROC1.ZIP;1 / SAMP-DOC.ZIP / TAPEDUMP.DOC < prev    next >
Encoding:
Text File  |  1992-11-08  |  6.3 KB  |  104 lines

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                        *************************************                    
  15.                        *                                   *                    
  16.                        *         T A P E D U M P           *                     
  17.                        *  ON THE MVS/XA OPERATING SYSTEM   *                    
  18.                        *                                   *                    
  19.                        *************************************                       
  20.                                                                                 
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                                 
  25.                                                                                 
  26.                                                                                 
  27.                                                                                 
  28.                                                                                 
  29.                                                                                 
  30.                                                                                 
  31.                                                                                 
  32.                                                                                 
  33.                                                                                 
  34.                                                                                 
  35.                                                                                 
  36.                                                                                 
  37.                                                                                 
  38.                                                                                 
  39.                                                                                 
  40.                                                                                 
  41.                                                                                 
  42.                                                                                 
  43.                                                                                 
  44.                                                                                 
  45.                                                                                 
  46.                                                                                 
  47.                                                                                 
  48.                                                                                 
  49.                                                                                 
  50.                                                                                 
  51.                                                                                 
  52.                                                                                 
  53.                                                         John S. Ward             
  54.                                                           03/15/93               
  55.  
  56. EJECT                                                                           
  57.         There are now procedures for producing listings of tape files in         
  58.    both character and hex format.  These procedures allow you to determine
  59.    the logical record length (lrecl), format and block size of a non-labeled         foreign or library tape.  There is a CLIST called from TSO and a PROC called from
  60.    JCL.
  61.  
  62.  
  63.  
  64.    TAPEDUMP CLIST:
  65.  
  66.        From TSO:   TAPEDUMP DSN(DATA.SET.NAME) VOLSER(vvvvvv)
  67.  
  68.            The DSN and VOLSER parameters are required.  There are
  69.        additional parameters which you may supply or take the defaults.
  70.  
  71.        FSQN(1)      - File sequence number, defaults to 1.
  72.        LBL(NL)      - Label type, defaults to non-labeled.
  73.        EXPDT(98000) - Expiration Date/TMS, defaults to foreign tape.
  74.        COUNT(10)    - Count, the number of blocks to dump.
  75.  
  76.            This CLIST submits a batch job whose output may be viewed in
  77.        ISPF panel 3.8 and requeued for printing.
  78.  
  79.  
  80.  
  81.    TAPEDUMP PROC:
  82.  
  83.        From JCL: //STEP1 EXEC VOLUP,VOLSER=vvvvvv,ACCESS=READ
  84.                  //STEP2 EXEC TAPEDUMP,DSN='DATA.SET.NAME',VOLSER=vvvvvv
  85.                  //TDUMP.SYSIN DD *
  86.                   PRINT INFILE(TAPEDD) COUNT(n)
  87.                  /*
  88.  
  89.              The DSN, VOLSER, and COUNT parameters must be supplied.  The
  90.        COUNT parameter indicates the number of blocks to dump.  Please
  91.        note the space in front of PRINT, it must be included.  As in the
  92.        CLIST, there are additional parameters which may be supplied or
  93.        the default taken.
  94.  
  95.        FSQN=1      - File sequence number, defaults to 1.
  96.        LBL=NL      - Label type, defaults to non-labeled.
  97.        EXPDT=98000 - Expiration Date/TMS, defaults to foreign tape.
  98.  
  99.        If the DSN of a foreign tape is one that is illegal under MVS, it
  100.        must be enclosed in triple quotes:
  101.  
  102.            DSN='''BAD.DSN.1'''
  103.  
  104.